home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
05 Programming
/
ASTERI.SFX
/
returncodes.doc
< prev
next >
Wrap
Text File
|
1990-02-12
|
512b
|
22 lines
"Return()" codes
When a program exits to the shell, the
carry flag is set or cleared to
signal if an error occured.
If carry set (Error), then the
accumulator contains the error
number.
If carry clear, then the accumulator
contains:
0 -- Finished, everything A-OK,
go to next "sentence".
1 -- Finished, but if any more
nouns can be passed, then
re-run program
(used by RM, etc, to act
on multiple files)